package cup.com.icss.dao;

import cup.com.icss.model.MailSystem;
import cup.com.icss.model.MailSystemExample;
import cup.com.icss.model.SomethingLost;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MailSystemMapper {
    int countByExample(MailSystemExample example);

    int deleteByExample(MailSystemExample example);

    int deleteByPrimaryKey(String id);

    int insert(MailSystem record);

    int insertSelective(MailSystem record);

    List<MailSystem> selectByExample(MailSystemExample example);

    MailSystem selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") MailSystem record, @Param("example") MailSystemExample example);

    int updateByExample(@Param("record") MailSystem record, @Param("example") MailSystemExample example);

    int updateByPrimaryKeySelective(MailSystem record);

    int updateByPrimaryKey(MailSystem record);
    
    List<MailSystem> selectMailSystemList(@Param("start") int pageNum,@Param("end") int pageSize,@Param("t") MailSystem record);
    
    List<MailSystem> selectMailSystemListSize(MailSystem record);
    
    List<MailSystem> selectMailSystemListdatagrid(@Param("start") int pageNum,@Param("end") int pageSize,@Param("t") MailSystem record);
    
    List<MailSystem> selectMailSystemListSizedatagrid(MailSystem record);
    
    List<MailSystem> selectTitleNum(String jStudentId);
}